Fix the MS-DOS build
authorPo Lu <luangruo@yahoo.com>
Thu, 15 Feb 2024 14:11:14 +0000 (22:11 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 15 Feb 2024 14:13:04 +0000 (22:13 +0800)
* configure.ac (REQUIRE_GNUISH_STRFTIME_AM_PM): Move definition
to...

* src/conf_post.h (REQUIRE_GNUISH_STRFTIME_AM_PM):
...conf_post.h.

configure.ac
src/conf_post.h

index c162f880e484a128cea4e879d476e4f8a8b99f5e..847fdbd54d2778386b39ad2bbb69778e594b68d6 100644 (file)
@@ -1566,8 +1566,6 @@ AC_DEFUN([gt_TYPE_WINT_T],
 AC_DEFUN_ONCE([gl_STDLIB_H],
   [AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
    gl_NEXT_HEADERS([stdlib.h])])
-AC_DEFINE([REQUIRE_GNUISH_STRFTIME_AM_PM], [false],
-  [Emacs does not need glibc strftime behavior for AM and PM indicators.])
 
 # Initialize gnulib right after choosing the compiler.
 dnl Amongst other things, this sets AR and ARFLAGS.
index 83a0dd1b09b28c27680c35b3e225c03f7c949117..f2353803074e7c47d8686fe365dc1c99685206fc 100644 (file)
@@ -471,3 +471,7 @@ extern int emacs_setenv_TZ (char const *);
 #undef MB_CUR_MAX
 #define MB_CUR_MAX REPLACEMENT_MB_CUR_MAX
 #endif /* REPLACEMENT_MB_CUR_MAX */
+
+/* Emacs does not need glibc strftime behavior for AM and PM
+   indicators.  */
+#define REQUIRE_GNUISH_STRFTIME_AM_PM false